<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>购买页面</title>
</head>
<body>

<h2>欢迎购买商品</h2>
<div>
        <table border="1">
            <thead>
            <tr>
                <th>商品名</th>
                <th>价格(元)</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>HuaweiP40</td>
                <td>6784</td>
                <td><a  href="/pay?productname=HuaweiP40&price=6784">购买</a></td>
            </tr>
            <tr>
                <td>N81</td>
                <td>2875</td>
                <td><a href="/pay?productname=N81&price=2875">购买</a></td>
            </tr>
            <tr>
                <td>iPhone12</td>
                <td>5860</td>
                <td><a href="/pay?productname=iPhone12&price=5860">购买</a></td>
            </tr>
            </tbody>
        </table>
</div>

<div>
    <a href="/notpay">查看超时未支付的订单</a>
</div>
</body>
</html>